package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 字典关联城市对象 city_dictionary
 *
 * @author MagicCube
 * @date 2023-06-09
 */
public class CityDictionary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 城市编号 */
    @Excel(name = "城市编号")
    private String cityId;

    /** 字典值编号 */
    @Excel(name = "字典值编号")
    private Long dictionaryId;

    /** 字典类型编号 */
    @Excel(name = "字典类型编号")
    private Long dictionaryTypeId;

    /** 字典类型标识 */
    @Excel(name = "字典类型标识")
    private String dictionaryTypeCode;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }
    public void setDictionaryId(Long dictionaryId)
    {
        this.dictionaryId = dictionaryId;
    }

    public Long getDictionaryId()
    {
        return dictionaryId;
    }
    public void setDictionaryTypeId(Long dictionaryTypeId)
    {
        this.dictionaryTypeId = dictionaryTypeId;
    }

    public Long getDictionaryTypeId()
    {
        return dictionaryTypeId;
    }
    public void setDictionaryTypeCode(String dictionaryTypeCode)
    {
        this.dictionaryTypeCode = dictionaryTypeCode;
    }

    public String getDictionaryTypeCode()
    {
        return dictionaryTypeCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityId", getCityId())
            .append("dictionaryId", getDictionaryId())
            .append("dictionaryTypeId", getDictionaryTypeId())
            .append("dictionaryTypeCode", getDictionaryTypeCode())
            .toString();
    }
}
